<?php
/**
 * Created by 张彪.
 * User: 小马出行
 * Date: 2017/10/26
 * Time: 10:39
 */

namespace app\api\logic;


use app\api\model\InformModel;
use think\Model;

class InformLogic extends Model
{


    public function __construct()
    {
        parent::__construct();

    }

    /**
     * 保存订单成功后的通知信息
     * @param $data
     * @return string 自增ID
     */
    public function createInform($data)
    {
        $informModel = new InformModel();
        return $informModel->createInform($data);
    }

}